﻿using FluentValidation;

namespace Services.Identity.WebApi.Request.User;

public class GetUserInformationByNamesRequest
{
    public List<string> Names { get; set; }
}
public class GetUserInformationByNamesRequestValidator : AbstractValidator<GetUserInformationByNamesRequest>
{
	public GetUserInformationByNamesRequestValidator()
	{
		RuleFor(x => x.Names).Must(x => x.Count != 0).WithMessage("查询用户信息的名称数量不能为0");
	}
}
